package com.edu.bean;
/*
 * @Author:princess
 * @Date 2023/11/7 11 07 19:22
 *
 */

import java.util.List;

public class Shop {
    private int shopId;
    private String shopName;
    private String phone;
    private String legalPerson;
    private List<Goods> goodsList;

    public List<Goods> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<Goods> goodsList) {
        this.goodsList = goodsList;
    }

    public Shop(String shopName, String phone, String legalPerson) {
        this.shopName = shopName;
        this.phone = phone;
        this.legalPerson = legalPerson;
    }

    public Shop() {
    }

    @Override
    public String toString() {
        return "Shop{" +
                "shopId=" + shopId +
                ", shopName='" + shopName + '\'' +
                ", phone='" + phone + '\'' +
                ", legalPerson='" + legalPerson + '\'' +
                '}';
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }
}
